<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="FieldTypes" targetNamespace="http://schemas.microsoft.com/sharepoint/" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="http://schemas.microsoft.com/sharepoint/" xmlns:mstns="http://schemas.microsoft.com/sharepoint/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include id="WSS" schemaLocation="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd" />
	<!--xs:import id="WSS" namespace="http://schemas.microsoft.com/sharepoint/" schemaLocation="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd" /
	  http://Behemoth.com/sharepoint/fieldtypes/
	  xmlns:wss="http://schemas.microsoft.com/sharepoint/"
	   -->
	<xs:element name="FieldTypes">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="FieldType" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Field" type="FieldDefinition_Field" minOccurs="1" maxOccurs="unbounded">
							</xs:element>
							<xs:element name="PropertySchema" minOccurs="0" maxOccurs="1">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Fields" type="FieldDefinitions" minOccurs="1" maxOccurs="1">
										</xs:element>
									</xs:sequence>
									<xs:attribute name="ShowInNewForm" type="xs:boolean" />
									<xs:attribute name="ShowInEditForm" type="xs:boolean" />
									<xs:attribute name="Hidden" type="xs:boolean" />
								</xs:complexType>
							</xs:element>
							<xs:element name="RenderPattern" type="FieldDefinition_RenderPattern" minOccurs="0" maxOccurs="unbounded" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="FieldDefinition_Field">
		<xs:complexContent>
			<xs:extension base="xs:anyType">
				<xs:sequence />
				<xs:attribute name="Name" type="FieldDefinition_FieldName" />
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:simpleType name="FieldDefinition_FieldName">
		<xs:restriction base="xs:string">
			<xs:enumeration value="TypeName" />
			<xs:enumeration value="ParentType" />
			<xs:enumeration value="TypeDisplayName" />
			<xs:enumeration value="TypeShortDescription" />
			<xs:enumeration value="UserCreatable" />
			<xs:enumeration value="ShowInListCreate" />
			<xs:enumeration value="ShowInSurveyCreate" />
			<xs:enumeration value="ShowInDocumentLibraryCreate" />
			<xs:enumeration value="ShowInColumnTemplateCreate" />
			<xs:enumeration value="FieldTypeClass" />
			<xs:enumeration value="AllowBaseTypeRendering" />
			<xs:enumeration value="Filterable" />
			<xs:enumeration value="Sortable" />
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="FieldDefinition_RenderPattern">
		<xs:complexContent>
			<xs:extension base="CamlViewRoot">
				<xs:sequence />
				<xs:attribute name="Name" type="RenderPatternName" />
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>